package model;

import java.sql.Timestamp;

/**
 * 活动实体类
 */
public class Activity {
    private String activityId;
    private String title;
    private String location;
    private Timestamp startTime;
    private Timestamp endTime;
    private Timestamp signUpEndTime;
    private int maxParticipants;
    private int currentParticipants;

    // Getters and Setters
    public String getActivityId() { return activityId; }
    public void setActivityId(String activityId) { this.activityId = activityId; }

    public String getTitle() { return title; }
    public void setTitle(String title) { this.title = title; }

    public String getLocation() { return location; }
    public void setLocation(String location) { this.location = location; }

    public Timestamp getStartTime() { return startTime; }
    public void setStartTime(Timestamp startTime) { this.startTime = startTime; }

    public Timestamp getEndTime() { return endTime; }
    public void setEndTime(Timestamp endTime) { this.endTime = endTime; }

    public Timestamp getSignUpEndTime() { return signUpEndTime; }
    public void setSignUpEndTime(Timestamp signUpEndTime) { this.signUpEndTime = signUpEndTime; }

    public int getMaxParticipants() { return maxParticipants; }
    public void setMaxParticipants(int maxParticipants) { this.maxParticipants = maxParticipants; }

    public int getCurrentParticipants() { return currentParticipants; }
    public void setCurrentParticipants(int currentParticipants) { this.currentParticipants = currentParticipants; }
}